package bean;

public class DeviceInfo {
    String trainNumber;
    int vehicleNumber;
    int bogie;
    int statusOfDevice;
    String version;

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getTrainNumber() {
        return trainNumber;
    }

    public void setTrainNumber(String trainNumber) {
        this.trainNumber = trainNumber;
    }


    public int getVehicleNumber() {
        return vehicleNumber;
    }

    public void setVehicleNumber(int vehicleNumber) {
        this.vehicleNumber = vehicleNumber;
    }

    public int getBogie() {
        return bogie;
    }

    public void setBogie(int bogie) {
        this.bogie = bogie;
    }


    public int getStatusOfDevice() {
        return statusOfDevice;
    }

    public void setStatusOfDevice(int statusOfDevice) {
        this.statusOfDevice = statusOfDevice;
    }

    @Override
    public String toString() {
        return "DeviceInfo{" +
                "trainNumber='" + trainNumber + '\'' +
                ", vehicleNumber=" + vehicleNumber +
                ", bogie=" + bogie +
                ", statusOfDevice=" + statusOfDevice +
                ", version='" + version + '\'' +
                '}';
    }
}
